package com.jnzc.ocr.serv.third.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("serv-third")
@RequestMapping("/smsApi")
public interface SmsApi {

    @PostMapping("/send")
    void send(@RequestParam("mobile") String mobile, @RequestParam("templateCode") String templateCode, @RequestBody Map<String, String> paramMap);
}
